
public class DaoFactory {

	
	
	private String DB_TYPE = "oracle";
	
	
	
	public IClienteDao getClienteDao() {
	
		
		
		if ( DB_TYPE.equals("oracle") ){
			return new ClienteOracleDao();
		} else 	if ( DB_TYPE.equals("mysql") ) {
			return new ClienteDao();
		} else if ( DB_TYPE.equals("postgre") ) {
			return new ClienteDao();
		}
		return null;
	}
	
	public IFornecedorDao getIFornecedorDao() {
		return null;
	}
	
	
}
